<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- 接口调用方式：
    1.原生ajax;
    2.基于jQuery的ajax;
    3.fetch API;
    4.axios 库; 
    5.Ascyn Await-->

    <!-- 服务器端一般返回json数据回客户端 -->

    <!-- URl格式：协议：//域名：端口/路径？查询参数#锚点或者哈希值 -->
    <!-- http://www.hello.com:80/books?flag=123#8888 -->
    <!-- restful格式URL格式：POST增加，DELETE删除，PUT修改，GET查询 -->
    <!-- http://www.hello.com/books GET -->
    <!-- http://www.hello.com/books POST -->
    <!-- http://www.hello.com/books/123 DELETE -->
    <!-- http://www.hello.com/books/123 PUT -->
    <!-- 最大区别是传参形式和请求方式-->


</body>

</html>